#ifndef NODE_H
#define NODE_H
#include "QList"
#include "QPoint"
#include "QList"
#include "cityxiaoweibean.h"

class CityNode
{
public:
    QString name; //城市名
    QString enName; //城市名拼音
    bool isVisited = false;
    QString cityImg="";//自动寻路面板img
    int x; //城市x坐标
    int y; //城市y坐标
    QList<CityXiaoWeiBean*> *xiaoweis = new QList<CityXiaoWeiBean*>();
    QList<CityNode *> *nextCitys =new QList<CityNode *>();

    bool operator==(const CityNode &node);

    CityNode(QString name,QString enName,  int x =0, int y =0);
    CityNode(QString name,QString enName,  QString cityImg, int x, int y);
    ~CityNode();



};

#endif // NODE_H
